﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.SmartMecial.Dtos;

namespace VOL.SmartMecial.IServices.EquipmentManage
{
    public interface IEquipmentServices
    {
        Task<List<OfficeTree>> ShowTree();

        Task<List<Entity.DomainModels.Equipment>> ShowEquipment(int? nursingUnitId);

        Task<int> AddEquipment(Entity.DomainModels.Equipment a);

        Task<int> DelEquipment(int id);

        Task<Entity.DomainModels.Equipment> GetEquipmentById(int id);

        Task<int> UpdateEquipment(Entity.DomainModels.Equipment a);
    }
}
